package com.applet.mallappletbackstage.service;

import com.applet.mallappletbackstage.entity.Integral;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * (Integral)表服务接口
 *
 * @author makejava
 * @since 2020-08-14 16:40:45
 */
public interface IntegralService extends IService<Integral> {
    /***
     * 用户授权注册新增积分
     * @param user
     */
    void addIntegral(String user);

    Integer selectSum(String id);

    Integral getStates(String user);
}
